home *** CD-ROM | disk | FTP | other *** search
/ Aminet 35 / Aminet 35 (2000)(Schatztruhe)[!][Feb 2000].iso / Aminet / gfx / misc / gnuplot-src.lha / gnuplot-3.7.1src / gnuplot-3.7.1.lha / gnuplot-3.7.1 / docs / doc2x.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-03  |  2.7 KB  |  103 lines

  1. /*
  2.  * $Id: d
  3. Â-s|ndix Gen8/11/03 12:47:36 lhecking Exp $
  4.  *
  5.  */
  6.  
  7. /* GNUPLOT - doc2x.h */
  8.  
  9. /*[
  10.  * Copyright 1986 - 1993, 1998   Thomas Williams, Colin Kelley
  11.  *
  12.  * Permission to use, copy, and distribute this software and its
  13.  * documentation for any purpose with or without fee is hereby granted,
  14.  * provided that the above copyright notice appear in all copies and
  15.  * that both that copyright notice and this permission notice appear
  16.  * in supporting documentation.
  17.  *
  18.  * Permission to modify the software is granted, but not the right to
  19.  * distribute the complete modified source code.  Modifications are to
  20.  * be distributed as patches to the released version.  Permission to
  21.  * distribute binaries produced by compiling modified sources is granted,
  22.  * provided you
  23.  *   1. distribute the corresponding source modifications from the
  24.  *    released version in the form of a patch file along with the binaries,
  25.  *   2. add special version identification to distinguish your version
  26.  *    in addition to the base release version number,
  27.  *   3. provide your name and address as the primary contact for the
  28.  *    support of your modified version, and
  29.  *   4. retain our contact information in regard to use of the base
  30.  *    software.
  31.  * Permission to distribute the released version of the source code along
  32.  * with corresponding source modifications in the form of a patch file is
  33.  * granted with same provisions 2 through 4 for binary distributions.
  34.  *
  35.  * This software is provided "as is" without express or implied warranty
  36.  * to the extent permitted by applicable law.
  37. ]*/
  38.  
  39. #ifndef DOCS_DOC2X_H
  40. # define DOCS_DOC2X_H
  41.  
  42. typedef int boolean;
  43.  
  44. #ifdef TRUE
  45. # undef TRUE
  46. #endif
  47. #define TRUE 1
  48.  
  49. #ifdef FALSE
  50. # undef FALSE
  51. #endif
  52. #define FALSE 0
  53.  
  54. /* Various defines and macros */
  55. #ifndef MAX_LINE_LEN
  56. # define MAX_LINE_LEN 1023
  57. #endif
  58.  
  59. #ifndef MAX_NAME_LEN
  60. # define MAX_NAME_LEN 255
  61. #endif
  62.  
  63. #ifdef HAVE_STRINGIZE
  64. # define START_HELP(driver) "C#" #driver ,
  65. # define END_HELP(driver)   ,"C#",
  66. #else
  67. # define START_HELP(driver)     /* nought */
  68. # define END_HELP(driver)   ,
  69. #endif
  70.  
  71. #if defined(DOCS_TERMDOC_MAIN) || defined(DOCS_XREF_MAIN)
  72. extern char *termtext[];
  73. #else
  74.  
  75. /* a complete lie, but they dont need it ! */
  76. # define TERM_DRIVER_H
  77. # define TERM_HELP
  78.  
  79. char *termtext[] = {
  80. # ifdef ALL_TERM_DOC
  81. #  include "allterm.h"
  82. # else
  83. #  include "term.h"
  84. # endif
  85.     NULL
  86. };
  87. #endif /* !DOCS_TERMDOC_MAIN */
  88.  
  89. /* From termdoc.c */
  90. #ifndef DOCS_TERMDOC_MAIN
  91. extern int termdoc_lineno;
  92. extern char termdoc_filename[];
  93. #endif
  94.  
  95. /* We are using the fgets() replacement from termdoc.c */
  96. #ifndef DOCS_TERMDOC_MAIN
  97. extern
  98. #endif
  99.        char *get_line __PROTO((char *, int, FILE *));
  100.  
  101. char *safe_strncpy __PROTO((char *, char *, size_t));
  102.  
  103. #endif /* DOCS_DOC2X_H */
  104.